package com.example.mpdata.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mpdata.po.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Entity com.example.mpdata.po.User
 */
@Mapper
@DS("db1")
public interface UserMapper extends BaseMapper<User> {

    IPage<User> selectPageVo(Page<?> page);
    /**
     *
     * @mbg.generated 2021-02-04 13:11:40
     */
    int deleteByPrimaryKey(Long id);



    /**
     *
     * @mbg.generated 2021-02-04 13:11:40
     */
    int insertSelective(User record);

    /**
     *
     * @mbg.generated 2021-02-04 13:11:40
     */
    User selectByPrimaryKey(Long id);

    /**
     *
     * @mbg.generated 2021-02-04 13:11:40
     */
    int updateByPrimaryKeySelective(User record);

    /**
     *
     * @mbg.generated 2021-02-04 13:11:40
     */
    int updateByPrimaryKey(User record);
}